import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [

  {
    path: '/', // 新增路由路径
    name: 'Login',
    component:() => import('../views/Login.vue'),
   
  },

  {
    path: "/HelloWorld",
    name: "HelloWorld",
    component: () => import("../views/HelloWorld.vue"),
  },
  {
    path: "/Register",
    name: "Register",
    component: () => import("../views/Register.vue"),
  },

  {
    path: "/CityManagement",
    name: "CityManagement",
    component: () => import("../views/CityManagement.vue"),
  },
  

 
  
  
]

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes
})

export default router